package com.jz.netthings.application.providerCollection.bean;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * <p>
 * 采浆记录 -加压
 * </p>
 *
 * @author zyl
 * @since 2019-03-25
 */
public class Inflating implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("mlogId")
    private String mlogId;
    /**
     * 开始加压时间
     */
    private Date startInflatingTime;
    /**
     * 加压参数
     */
    private Integer inflatingParameters;
    /**
     * 读取时间
     */
    private Date timeInflatingParameters;
    /**
     * 结束加压试气泵压力(穿刺时读取）
     */
    private Integer airPumpPressure;
    /**
     * 读取时间
     */
    private Date timeAirPumpPressure;


    public String getMlogId() {
        return mlogId;
    }

    public void setMlogId(String mlogId) {
        this.mlogId = mlogId;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getStartInflatingTime() {
        return startInflatingTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setStartInflatingTime(Date startInflatingTime) {
        this.startInflatingTime = startInflatingTime;
    }

    public Integer getInflatingParameters() {
        return inflatingParameters;
    }

    public void setInflatingParameters(Integer inflatingParameters) {
        this.inflatingParameters = inflatingParameters;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getTimeInflatingParameters() {
        return timeInflatingParameters;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setTimeInflatingParameters(Date timeInflatingParameters) {
        this.timeInflatingParameters = timeInflatingParameters;
    }

    public Integer getAirPumpPressure() {
        return airPumpPressure;
    }

    public void setAirPumpPressure(Integer airPumpPressure) {
        this.airPumpPressure = airPumpPressure;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getTimeAirPumpPressure() {
        return timeAirPumpPressure;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setTimeAirPumpPressure(Date timeAirPumpPressure) {
        this.timeAirPumpPressure = timeAirPumpPressure;
    }

    @Override
    public String toString() {
        return "Inflating{" +
        "mlogId=" + mlogId +
        ", startInflatingTime=" + startInflatingTime +
        ", inflatingParameters=" + inflatingParameters +
        ", timeInflatingParameters=" + timeInflatingParameters +
        ", airPumpPressure=" + airPumpPressure +
        ", timeAirPumpPressure=" + timeAirPumpPressure +
        "}";
    }
}
